<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Version_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-version_number" class="form-control" name="row[version_number]" type="text">
        </div>
    </div>
    <div class="form-group" id="app_path">
        <label for="c-app_path" class="control-label col-xs-12 col-sm-2">{:__('上传')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-app_path" class="form-control" size="50" name="row[app_path]" type="text" value="" readonly>
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-avatar" data-maxsize="30M" class="btn btn-danger faupload" data-url="ajax/uploadApk" data-input-id="c-app_path" data-mimetype=".apk" data-multiple="false" data-preview-id="p-app_path"><i class="fa fa-upload"></i> 上传</button></span>
                </div>
                <span class="msg-box n-right" for="c-app_path"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-app_path"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-update_content" class="form-control editor" rows="5" name="row[update_content]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
